{% extends "base.html" %}

{% load i18n %}

{% block title %}{% trans "Login" %}{% endblock %}

{% block login %}
{% endblock %}

{% block content %}
    {% if form.errors %}
        <div class="alert alert-error">
            {% trans "Your username and password didn't match. Please try again." %}
        </div>
    {% endif %}
    <div id="login">
        <form method="post">
            {% csrf_token %}
            <!-- {{ form.as_p }} -->

            <input placeholder="{% trans "nickname..." %}" id="id_username" maxlength="254" name="username" type="text" />
            <input  placeholder="{% trans "password..." %}" id="id_password" name="password" type="password" />
            <input type="submit" class="btn btn-primary" value="{% trans "login" %}">
        </form>
    </div>
{% endblock %}

